package org.ltt.rbac.controller;

import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 *  用户接口控制层
 */
@RestController
@RequestMapping(("/user"))
public class UserController {

    @GetMapping("/hello")
    public String hello(){
        return "hello world!";
    }

    @PostMapping("/test")
    public String test(){
        return "test";
    }


}
